package com.lxy.demo.dao;

import com.lxy.demo.entity.Condition;
import com.lxy.demo.entity.ToursInfo;

import java.util.List;

public interface ToursInfoDao {
    int addInfo(ToursInfo toursInfo);

    List<ToursInfo> findInfoBySome(Condition condition,Integer p);

    int findCount(Condition condition);

    int delInfo(int id);

    //修改
    int updInfo(int id,ToursInfo toursInfo);

    //查找一个
    ToursInfo findOne(int id);
}
